#ifndef SIGSLOTTEST_H
#define SIGSLOTTEST_H

#include <QObject>

class SigSlotTest : public QObject
{
    Q_OBJECT
public:
    SigSlotTest(QObject *parent = nullptr);

    void setNext(SigSlotTest *obj);

signals:
    void sig(int s);
    void sig2(int s);

public slots:
    void onSig(int s);

private:
    SigSlotTest *m_next = nullptr;
};

#endif // SIGSLOTTEST_H
